﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DuoShouZZ_CK.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS._6.ZhangWuGL.DuoShouZZ_CK" %>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            查看
        </div>
        
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <div>
                        <table style="width: 40%; text-align: center; height: 30px;">
                            <tr>
                                <td><span style="font-size: 12px;">账务年月：</span></td>
                                <td>
                                    <dx:ASPxTextBox ID="txtZhangWuNY" Width="40%" runat="server" Enabled="true">
                                        <ClientSideEvents KeyPress="function(s,e)
                                            {
                                                var key = event.keyCode;
                                                if( key==13){$('#btnSearch').click();}
                                            }"
                                        />
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnSearch" runat="server" Text="查看" OnClick="btnSearch_Click"></dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div>
                        <fieldset>
                            <legend>明细</legend>
                            <dx:ASPxGridView ID="gvMingXi" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Theme="Aqua1" Width="100%">
                                <Columns>
                                    <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="25%">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="25%">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn FieldName="I_YM" Caption="水量年月" Width="25%">
                                    </dx:GridViewDataTextColumn>
                                    <dx:GridViewDataTextColumn FieldName="N_JINE" Caption="转入金额" Width="25%">
                                    </dx:GridViewDataTextColumn>
                                </Columns>
                                <Settings VerticalScrollableHeight="200" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                            </dx:ASPxGridView>
                        </fieldset>

                    </div>
                    <div>
                        <table style="text-align: center; height: 30px;">
                            <tr>
                                <td><span style="font-size: 12px;">总笔数：</span></td>
                                <td>
                                    <dx:ASPxTextBox ID="txtZongBiS" Width="80%" runat="server" Enabled="true">
                                    </dx:ASPxTextBox>
                                </td>
                                <td>
                                    <span style="font-size: 12px;">总金额：</span>
                                </td>
                                <td>
                                    <dx:ASPxTextBox ID="txtZongJinE" Width="80%" runat="server" Enabled="true">
                                    </dx:ASPxTextBox>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>

